package kr.pe.johnkim.waiting.mobile.service;

import kr.pe.johnkim.waiting.mobile.domain.WaitingMemberRecommendation;

import java.util.List;

/**
 * @author : John_Kim <cale9797@gmail.com>
 * @date : 13. 7. 15.
 */
public interface WaitingMemberRecommendationService {

    /**
     * 사용자의 추천 중복을 확인 한다.
     *
     * @param waitingMemberRecommendation
     * @return
     */
    public WaitingMemberRecommendation selectDuplicationMemberRecommendation(WaitingMemberRecommendation waitingMemberRecommendation);

    /**
     * 사용자의 추천을 등록 한다.
     *
     * @param waitingMemberRecommendation
     */
    public void registerMemberRecommendation(WaitingMemberRecommendation waitingMemberRecommendation);

    /**
     * 사용자의 추천을 비활성화 한다.
     *
     * @param waitingMemberRecommendation
     */
    public void updateDeactivateMemberRecommendation(WaitingMemberRecommendation waitingMemberRecommendation);

    /**
     * 특정 사용자의 추천 목록을 가져 온다.
     *
     * @param waitingMemberRecommendation
     * @return
     */
    public List<WaitingMemberRecommendation> selectMemberRecommendationList(WaitingMemberRecommendation waitingMemberRecommendation);

    /**
     * 특정 가맹점에 대한 사용자 추천 목록을 가져 온다.
     *
     * @param waitingMemberRecommendation
     * @return
     */
    public List<WaitingMemberRecommendation> selectMerchantRecommendationList(WaitingMemberRecommendation waitingMemberRecommendation);
}
